import { IRoute } from 'umi';

const routes: IRoute[] = [
  {
    path: '/',
    exact: true,
    redirect: '/home',
  },
  {
    path: '/home',
    exact: true,
    component: '@/pages/home',
  },
  {
    path: '/user',
    exact: true,
    component: '@/pages/user',
  },
  {
    path: '/userhelp',
    exact: true,
    component: '@/pages/userhelp',
  },
];
export default routes;
